package com.tm.chargecar.controller;

import com.tm.chargecar.result.Result;
import com.tm.chargecar.service.ShopService;
import com.tm.chargecar.vo.ShopVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author wangSang
 * @create 2022-08-28 17:26
 *
 * 业务查询
 */
@RequestMapping("shop")
@RestController
public class ShopController {


        @Autowired
        private ShopService service;

        /***
         * 业务查询
         * @param shopVo
         * @return
         */
        @GetMapping("queryShop")
        public Result queryShop(ShopVo shopVo){


            return service.queryShop(shopVo);
        }


}
